<h3><{"Tags"|msg}></h3>

<div class="left">
<{"{1} tag(s) found."|msg:$paylog.total}>
</div>

<div class="right">
<a href="<{url controller="edit_tag" group_id=$paylog.group.id}>"><{"Add"|msg}></a>
</div>

<div class="clear"></div>

<table class="outer">

<tr>
<th><{"ID"|msg}></th>
<th><{"Tag Name"|msg}></th>
<th><{"Weight"|msg}></th>
<th><{"Operation"|msg}></th>
</tr>

<{foreach from=$paylog.tags item="tag"}>

<tr class="<{cycle values="odd, even"}>">
<td><{$tag.id}></td>
<td><{$tag.name}></td>
<td><{$tag.weight}></td>
<td>
<a href="<{url controller="edit_tag" id=$tag.id}>"><{"Edit"|msg}></a>
<a href="<{url controller="delete_tag" id=$tag.id}>"><{"Delete"|msg}></a>
</td>
</tr>

<{/foreach}>

</table>